package com.oneonefive.educationsystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.oneonefive.educationsystem.domain.LabRepair;
import com.oneonefive.educationsystem.vo.LabRepairVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LabRepairMapper extends BaseMapper<LabRepair> {


    List<LabRepair> adminLabRepList(@Param("labRepairVo") LabRepairVo labRepairVo, @Param("userId") Integer userId);

    List<LabRepair> adminLabRepListCount(@Param("labRepairVo") LabRepairVo labRepairVo, @Param("userId") Integer userId);

    List<LabRepair> teacherLabRepList(@Param("labRepairVo") LabRepairVo labRepairVo, @Param("userId") Integer userId);

    List<LabRepair> teacherLabRepListCount(@Param("labRepairVo") LabRepairVo labRepairVo, @Param("userId") Integer userId);

    boolean updateLabRep(LabRepair labRepair);
}




